const http = require('http')
const router = require('./router')

let server = http.createServer()

server.listen(7000, () => {
    console.log('端口 7000')
})

server.on('request', function (req, res) {
    router(req, res)
})
